<!-- PAGE CONTENT WRAPPER -->
<div class="page-content-wrap">

    <div class="row">
        <div class="col-md-12">
            <!--&lt;!&ndash;查询条件&ndash;&gt;-->
            <!--<form class="form-horizontal">-->
            <!--<div class="panel panel-default">-->
            <!--<div class="panel-heading">-->
            <!--<h3 class="panel-title"><strong>{{'查询' | dyLanguage}}</strong></h3>-->
            <!--<ul class="panel-controls">-->
            <!--<li><a href="javascript:void(0)" class="panel-remove"><span class="fa fa-times"></span></a></li>-->
            <!--</ul>-->
            <!--</div>-->
            <!--<div class="panel-body">-->
            <!--<p>{{'本页面可对系统内的测试信息进行查询、新增、编辑等管理操作。' | dyLanguage}}</p>-->
            <!--</div>-->
            <!--<div class="panel-body">-->
            <!--<div class="row">-->

            <!--<div class="col-md-6">-->

            <!--<div class="form-group">-->
            <!--<label class="col-md-3 control-label">{{'名称' | dyLanguage}}</label>-->
            <!--<div class="col-md-9">-->
            <!--<div class="input-group">-->
            <!--<span class="input-group-addon"><span class="fa fa-pencil"></span></span>-->
            <!--<input type="text" class="form-control" ng-model="queryPara.gaugeName"/>-->
            <!--</div>-->
            <!--<span class="help-block">{{'请输入名称' | dyLanguage}}</span>-->
            <!--</div>-->
            <!--</div>-->

            <!--<div class="form-group">-->
            <!--<label class="col-md-3 control-label">{{'创建开始时间' | dyLanguage}}</label>-->
            <!--<div class="col-md-9">-->
            <!--<div class="input-group">-->
            <!--<span class="input-group-addon"><span class="fa fa-calendar"></span></span>-->
            <!--<input type="text" class="form-control datepicker" cm-datepicker   ng-model="queryPara.fromDate">-->
            <!--</div>-->
            <!--<span class="help-block">{{'请输入创建的最早日期' | dyLanguage}}</span>-->
            <!--</div>-->
            <!--</div>-->

            <!--</div>-->
            <!--<div class="col-md-6">-->

            <!--<div class="form-group">-->
            <!--<label class="col-md-3 control-label">{{'编码' | dyLanguage}}</label>-->
            <!--<div class="col-md-9">-->
            <!--<div class="input-group">-->
            <!--<span class="input-group-addon"><span class="fa fa-pencil"></span></span>-->
            <!--<input type="text" class="form-control" ng-model="queryPara.gaugeCode"/>-->
            <!--</div>-->
            <!--<span class="help-block">{{'请输入编码' | dyLanguage}}</span>-->
            <!--</div>-->
            <!--</div>-->

            <!--<div class="form-group">-->
            <!--<label class="col-md-3 control-label">{{'创建结束时间' | dyLanguage}}</label>-->
            <!--<div class="col-md-9">-->
            <!--<div class="input-group">-->
            <!--<span class="input-group-addon"><span class="fa fa-calendar"></span></span>-->
            <!--<input type="text" class="form-control datepicker" cm-datepicker   ng-model="queryPara.toDate">-->
            <!--</div>-->
            <!--<span class="help-block">{{'请输入测试创建的最晚日期' | dyLanguage}}</span>-->
            <!--</div>-->
            <!--</div>-->

            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
            <!--<div class="panel-footer" style="text-align: center;">-->
            <!--<button class="btn btn-primary" ng-click="queryGaugeList(1)"><i class="fa fa-search"></i>{{'查询' | dyLanguage}}</button>-->
            <!--<button class="btn btn-primary" ng-click="refresh()"><i class="fa fa-refresh"></i>{{'重置' | dyLanguage}}</button>-->
            <!--<button class="btn btn-primary" ng-click="add()"><i class="fa fa-plus"></i>{{'新增' | dyLanguage}}</button>-->
            <!--</div>-->
            <!--</div>-->
            <!--</form>-->
            <!--&lt;!&ndash;end 查询条件&ndash;&gt;-->

            <!-- START TABLE HOVER ROWS -->
            <div class="panel panel-default">
                <div class="panel-heading x-navigation x-navigation-horizontal x-navigation-panel">
                    <div class="panel-title-box" style="width: 30%">
                        <h3 class="panel-title"><strong>{{'查询结果：' | dyLanguage}}</strong></h3>
                    </div>
                    <div class="search-div">
                        <ul class="panel-controls panel-controls-title">
                            <li class="xn-search">
                                <form role="form">
                                    <input ng-model="queryPara.query.name.value" class="searchInputWhite" type="text" name="search" placeholder="{{'查询' | dyLanguage}}"/>
                                </form>
                            </li>
                            <li class="top-panel-controls">
                                <button class="btn btn-primary" ng-click="add()"><i class="fa fa-plus"></i>{{'新增' | dyLanguage}}</button>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="panel-body table-responsive">
                    <h5 style="float: left;">{{'本次查询共查询到' | dyLanguage}}{{pagination.length}}{{'条记录。' | dyLanguage}}</h5>
                    <cm-pagination ng-model="pagination" ng-show="pagination.length > 0"></cm-pagination>
                    <table class="table table-hover table-bordered">
                        <thead>
                        <tr>
                            <th>{{'测试名称' | dyLanguage}}</th>
                            <th>{{'测试编码' | dyLanguage}}</th>
                            <th>{{'排序' | dyLanguage}}</th>
                            <th>{{'是否有效' | dyLanguage}}</th>
                            <th>{{'创建时间' | dyLanguage}}</th>
                            <th>{{'操作' | dyLanguage}}</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr ng-repeat="gauge in gaugeResult.datas">

                            <td width="30%">{{gauge.gaugeTemplateName}}</td>
                            <td>{{gauge.gaugeTemplateCode}}</td>
                            <td>{{gauge.gaugeTemplateSort}}</td>
                            <td>{{!!gauge.active?'是':'否'}}</td>
                            <td ng-bind="gauge.createDate | date:'yyyy年MM月dd日 HH:mm:ss'"></td>
                            <td>
                                <div class="btn-group">
                                    <a href="javascript:void(0);" data-toggle="dropdown" class="btn btn-primary dropdown-toggle">{{'记录操作' | dyLanguage}}<span class="caret"></span></a>
                                    <ul class="dropdown-menu" role="menu" style="text-align: center;">
                                        <li ng-click="edit(gauge)"><a>{{'基本信息' | dyLanguage}}</a></li>
                                        <li ng-click="checkTopic(gauge)"><a>{{'查看题目' | dyLanguage}}</a></li>
                                        <li ng-click="checkEstimate(gauge)"><a>{{'查看评价' | dyLanguage}}</a></li>
                                        <li ng-click="refreshEstimate(gauge)"><a>{{'刷新评价' | dyLanguage}}</a></li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <cm-pagination ng-model="pagination" ng-show="pagination.length > 0"></cm-pagination>
                </div>
            </div>
            <!-- END TABLE HOVER ROWS -->

        </div>
    </div>

</div>
<!-- END PAGE CONTENT WRAPPER -->
<ui-view name="gauge-child"></ui-view>